package dper.study.codes.common.util;


import net.sf.json.JSONObject;

/**
 * Created by leichen on 2017/3/13.
 */
public class JsonUtil {
    public static String bean2json(Object object) {
        JSONObject jsonObject = JSONObject.fromObject(object);
        return jsonObject.toString();
    }
}
